package com.jushu.storbox.util.identity;

import java.io.InputStream;

public abstract class AbsStreamIdentity extends AbsIdentity{

	protected static final int BUFFER_SIZE = 1024 * 64;
	
	InputStream innerStream = null;
	
	public AbsStreamIdentity(InputStream innerStream) {
		this.innerStream = innerStream;
		setIdentityCallback(defaultCallback);
	}
	
	public AbsStreamIdentity(InputStream innerStream, IidentityCallback callback) {
		this.innerStream = innerStream;
		setIdentityCallback(callback);
	}
	
}
